package com.example.demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Arrays;
import java.util.HashMap;


@Controller
@RequestMapping("/return")
public class Test {
    @ResponseBody
    @RequestMapping("/r1")
    public String r1() {
        return "hello, spring";
    }

}